package com.che.libcommon.api;

import android.support.annotation.Nullable;

public abstract class SimpleResultObserver extends ApiOptionalResultObserver<Object> {

  @Override
  protected final void onApiResult(@Nullable Object o) {
    onSuccess();
  }

  protected abstract void onSuccess();

}
